<%--
  Created by IntelliJ IDEA.
  User: wpj
  Date: 2015/3/26
  Time: 22:10
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>登陆超时</title>
</head>
<script language="JavaScript" type="text/javascript">
  function delayURL(url) {
    var delay = document.getElementById("time").innerHTML;
    if(delay > 0) {
      delay--;
      document.getElementById("time").innerHTML = delay;
    } else {
      window.top.location.href = url;
    }
    setTimeout("delayURL('" + url + "')", 1000);
  }
</script>
<span id="time" style="background: #00BFFF">3</span>秒钟后自动跳转，如果不跳转，请点击下面的链接<a href="/login.jsp" ></a>
<script type="text/javascript">
  delayURL("/login.jsp");
</script>
<body>
<h1>登陆超时，请重新登陆</h1>
<h2><a href="/" >重新登陆</a></h2>
</body>
</html>
